Confusion sometimes arises from the fact that the same thing can sometimes have multiple roles.
● For instance Username can be part of Credentials to allow Authentication.
● But if Usernames are unique across the Application then Username can also be used as Identity/Principal - something
that uniquely identifies Subject inside the Application.
Some Applications allow Users to have the same Usernames (like Facebook).
So in such Applications Identity/Principal has to be something else like: ID, Email Address, Phone Number.